package com.iamteer.day18.model;

public class Book {
	private String name;
	private String author;
	private String publisher;
	private float price;
	private String isbn;
	private String publishDate;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getIsbn() {
		return isbn;
	}
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	public String getPublishDate() {
		return publishDate;
	}
	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}
	
	@Override
	public String toString() {
		String bookInfo = this.name + "\t" + this.author +  "\t" + this.publisher 
				+  "\t" + this.price +  "\t" + this.isbn +  "\t" + publishDate;
		return bookInfo;
	}
}
